﻿@*
    For more information on enabling MVC for empty projects, visit https://go.microsoft.com/fwlink/?LinkID=397860
*@
@{
    ViewData["Title"] = "菜单管理";
    Layout = "~/Views/Shared/_Layout_common.cshtml";
}
    <div class="pageContainer">
        <div class="searchPanel gkb-mt10">
           
                <div class="layui-row ">
                    <div class="gkb-fl layui-col-md6 ">
                        <button type="button layui-btn-sm" class="layui-btn">
                            <i class="iconfont gkb-tianjia gkb-mr2"></i>
                            添加
                        </button>
                        <button type="button layui-btn-sm" class="layui-btn" id="btn_foldAll">
                            <i class="iconfont  gkb-zhediexiaoguo gkb-mr2"></i>
                            全部折叠
                        </button>
                    </div>
                    <div class=" layui-col-md6 gkb-fl ">
                        <form class="layui-form" action="" lay-filter="searchForm">
                            <div class="layui-inline layui-form-item gkb-mb0">
                                <label class="layui-form-label">菜单名称</label>
                                <div class="layui-input-inline">
                                    <input type="text" class="layui-input" name="name">
                                </div>
                            </div>
                            <div class="layui-inline layui-form-item gkb-mb0 ">
                                <label class="layui-form-label">禁用状态</label>
                                <div class="layui-input-inline">
                                    <select name="isActive" lay-filter="aihao">
                                        <option value="" selected>全部</option>
                                        <option value="1">启用</option>
                                        <option value="0">禁用</option>
                                    </select>
                                </div>
                            </div>
                            <div class="layui-inline">
                                <button type="button" class="layui-btn" data-type="reload" id="btn_search">查询</button>
                            </div>
                        </form>
                    </div>
                </div>
           
        </div>
        <div class="xm-d2-hang2 gkb-mt10">
            <table id="menuTable" class="layui-table" lay-filter="menuTable">
            </table>
        </div>
       
    </div>
@section Scripts{
    <script src="~/js/system/menu.js" type="text/javascript"></script>
}